package Demo02;

public class Test {
    public static void main(String[] args) {
        Student student1 = new Student("小明",Sex.BOY,18);
        Student student2 = new Student("小红",Sex.GIRL,19);
        System.out.println(student1);
        System.out.println(student2);
    }
}
